package com.safety.web.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.safety.web.dao.TheheadlinesDao;
import com.safety.web.entity.Theheadlines;
import com.safety.web.service.TheheadlinesService;
@Service("Theheadlines")
public class TheheadlinesServiceImpl implements TheheadlinesService {
	@Resource
    private TheheadlinesDao theheadlinesDao;
	@Override
	public List<Theheadlines> selectTheheadlines() {
		// TODO Auto-generated method stub
		return theheadlinesDao.selectTheheadlines();
	}
	@Override
	public List<Theheadlines> selectconditionHealthheadlines(int id) {
		// TODO Auto-generated method stub
		return theheadlinesDao.selectconditionHealthheadlines(id);
	}

}
